package com.example.cp.mvvm.utils;

import com.example.cp.entivity.BannerResult;
import com.example.cp.entivity.VideoResult;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ApiService {
    @GET(Const.VIDEO_URL)
    Observable<VideoResult> getVideo(@Query("currentPage")int currentPage ,@Query("pageSize")int pageSize );
    @GET(Const.BANNER_URL)
    Observable<BannerResult> getBanner();

}
